package com.example.webdownloadserver.core;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.springframework.stereotype.Service;

/**
 * 
 * @author lisy
 * @Describe Annotation for handling requests of download
 * @since
 */
@Documented
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Service
public @interface DownloadHandler {

	/**
	 * The key for the bean to handle download task
	 */
	String handler() default "";
}
